package com.ygqh.baby.excel.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * 〈〉
 *
 * @author admin
 * @create 2019/4/19
 * @since 1.0.0
 */

@Target({FIELD, METHOD})
@Retention(RUNTIME)
public @interface ExcelField {
    String head() default "";

    int columnNum() default -1;

    boolean required() default true;
}
